package com.ikun.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 考勤表(Attendances)实体类
 *
 * @author Li
 * @since 2025-03-26 10:52:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Attendances implements Serializable {
    private static final long serialVersionUID = 740631323129344747L;
    /**
     * 考勤ID
     */
    private Integer attendanceId;
    /**
     * 员工ID
     */
    private Integer staffId;
    /**
     * 考勤时间
     */

    private LocalDate recordDate;
    /**
     * private Date recordDate; /** 签到时间
     */
    private Date clockIn;
    /**
     * 签退时间
     */
    private Date clockOut;
    /**
     * 考勤状态
     */
    private Integer status;
    // 新加的楼栋号
    private Integer buildingId;

    // 新加的字段
    private String username;

    // 新增字段用户名
    private String name;

    // 新增字段楼栋号
    private String buildingNo;

    // 新增字段职位
    private String roleName;

}
